package com.example.mapp;

import com.example.entity.LowCodeMapping;
import com.example.mapp.buildSql.LowCodeMappingMappSql;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface LowCodeMappingMapp {

    @Select("select * from low_code_mapping")
    public List<LowCodeMapping> queryAll() throws Exception;

    @SelectProvider(type = LowCodeMappingMappSql.class, method = "queryList")
    public List<LowCodeMapping> queryByCode(List<String> codes) throws Exception;
}
